<?php $this->beginContent('//layouts/main'); ?>
<div class="body-cont">
  <div class="col-12 row">
        <div class="mod">
        	<div class="mod-bread"><a href="#">Trang cá nhân </a>
                <!-- > <a href="#">Dự án</a> > <a href="#">Tư vấn</a></div> -->
     		<div>
            	<div class="pri-1">
          	<?php $this->widget('AvatarWidget',array('id'=>Yii::app()->user->id)); ?>
            <div class="pri-nav line-dot">
                <h2>Cá nhân</h2>
                <ul>
                	<li><a href="<?php echo Yii::app()->createUrl('user/inbox'); ?>">Tin nhắn</a><span><?php echo Yii::app()->getModule('user')->getInboxView(); ?></span></li>
                	<li><a href="<?php echo Yii::app()->createUrl('user/userprofiles'); ?>">Thay đổi thông tin cá nhân</a></li>
                </ul>
              </div>
            <div class="pri-nav line-dot">
                <h2>Công việc</h2>
                <ul>
                	<li><a href="<?php echo Yii::app()->createUrl('/job/show/job',array('type'=>1)); ?>">Công việc chờ chấp nhận</a><span><?php echo Yii::app()->getModule('user')->getJobDoing(1); ?></span></li>
                    <li><a href="<?php echo Yii::app()->createUrl('/job/show/job',array('type'=>3)); ?>">Công việc đang tham gia</a><span><?php echo Yii::app()->getModule('user')->getJobDoing(3); ?></span></li>
                	<li><a href="<?php echo Yii::app()->createUrl('/job/show/job',array('type'=>4)); ?>">Công việc đã tham gia</a><span><?php echo Yii::app()->getModule('user')->getJobDoing(4); ?></span></li>
                </ul>
              </div>
              <?php if($_GET['id'] != Yii::app()->user->id): ?>
            <div class="post-button"><a href="<?php echo Yii::app()->createUrl('job/create/hire',array('id'=>$_GET['id'])); ?>"><input class="orange" type="button" value="Thuê người" /></a></div>
        <?php endif; ?>
            <div><img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/banner3.gif" /></div>
     	 </div><!-- end col1 -->
         		<div class="pri-2">
         			<?php echo $content; ?>
     	 </div><!-- end col2 -->
         </div>
         <div class="clr"></div>
        </div>
        <div class="clr"></div>
        <!-- end content -->

	</div>

	<div class="clr"></div>
</div>

<?php $this->endContent(); ?>